var App = ng.core.Component({
    selector: 'app',
    template: '<h1>Hello {{target}}!</h1>'
})
    .Class({
        constructor: function () {
            this.target = 'world';
        }
    });
ng.platformBrowserDynamic.bootstrap(App);  